package com.szit.util.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 权限
 * 
 * @author wyler
 * @date 2020-10-09
 */
@Data
public class AdminPermissionInfo {

    /**
     * 编号
     */
    @ApiModelProperty(name = "permissionId",value = "编号",dataType = "int",required = false)
    private Integer permissionId;

    /**
     * token
     */
    @ApiModelProperty(name = "token",value = "token",dataType = "String",required = true)
    private String token;

    /**
     * 所属上级
     */
    @ApiModelProperty(name = "pid",value = "所属上级",dataType = "int",required = true)
    private Integer pid;

    /**
     * 名称
     */
    @ApiModelProperty(name = "name",value = "名称",dataType = "String",required = true)
    private String name;

    /**
     * 类型(0:管理全部,1:管理子用户,2:管理自己)
     */
    @ApiModelProperty(name = "type",value = "类型(0:管理全部,1:管理子用户,2:管理自己)",dataType = "byte",required = true)
    private Byte type;


    /**
     * 排序
     */
    @ApiModelProperty(name = "orders",value = "排序",dataType = "Long",required = true)
    private Long orders;


}